import Vue from 'vue';
import Vuex from 'vuex';
import mutations from './mutations'
import actions from './actions'
import modules from './modules';
import {getLocalData} from "@/common/utils"
Vue.use(Vuex);

let ms = {
    ...modules,
};

export default new Vuex.Store({
	state:{
		pageParams:getLocalData("pageParams")
	},
	modules:ms,
	actions,
	mutations
})
